home *** CD-ROM | disk | FTP | other *** search
/ Quick PC 62 / Quick PC 62.iso / I386 / IIS5_01.CAB / IIS_iiwizbtns.inc < prev    next >
Encoding:
Text File  |  1998-05-29  |  1.9 KB  |  72 lines

  1. <tr>
  2.     <td colspan = 2 align="right">
  3.  
  4.         <script language="JavaScript">
  5.             var iNextPage = <%= iNextPage %>
  6.             var iPrevPage = <%= iPrevPage %>
  7.         
  8.             function setNav(iNewNextPage)
  9.             {
  10.                 iNextPage = iNewNextPage
  11.             }
  12.         </script>
  13.  
  14.         <%= sFont("","","",True) %>
  15.         
  16.         
  17.         <% if iThisPage > LAST then %>        
  18.             <% if CANRESTART then %>
  19.                         <input type="BUTTON" value="< <%= L_RESTART_TEXT %>" onclick="document.userform.iThisPage.value = 0;document.userform.submit();">            
  20.             <% else %>
  21.                         <input type="BUTTON" value="< <%= L_BACK_TEXT %>" DISABLED>            
  22.             <% end if %>
  23.             
  24.         <% else %>
  25.             <% if iThisPage > WELCOME then %>
  26.                         <input type="BUTTON" value="< <%= L_BACK_TEXT %>" onclick="prevPage();">
  27.             <% else %>
  28.                         <input type="BUTTON" value="< <%= L_BACK_TEXT %>" DISABLED>
  29.             <% end if %>
  30.         <% end if %>
  31.  
  32.  
  33.         <% if iThisPage = LAST then %>
  34.                     <input type="BUTTON" value=" <%= L_FINISH_TEXT %>" onclick="nextPage();">
  35.         <% else %>
  36.             <% if iNextPage <= LAST then %>
  37.                         <input type="BUTTON" value="<%= L_NEXT_TEXT %> >" onclick="nextPage();">
  38.             <% else %>
  39.                         <input type="BUTTON" value="<%= L_NEXT_TEXT %> >" DISABLED>
  40.             <% end if %>
  41.         <% end if %>
  42.  
  43.         <% if iThisPage > LAST then %>
  44.             <input type="BUTTON" value="<%= L_CLOSE_TEXT %>" onclick="top.window.close();">        
  45.         <% else %>
  46.             <input type="BUTTON" value="<%= L_CANCEL_TEXT %>" onclick="top.window.close();">
  47.         <% end if %>    
  48.         <input type="hidden" name="iThisPage" value="<%= Request("iThisPage") %>">    
  49.         <IMG SRC="images/Space.gif" WIDTH=4 HEIGHT=1 BORDER=0>
  50.         
  51.         </FONT>
  52.         
  53.         <SCRIPT LANGUAGE="JavaScript">
  54.  
  55.             function nextPage()
  56.             {            
  57.                 if (bNextPageOk())
  58.                 {
  59.                     document.userform.iThisPage.value = iNextPage;
  60.                     document.userform.submit();
  61.                 }
  62.             }
  63.             
  64.             function prevPage()
  65.             {            
  66.                 document.userform.iThisPage.value = iPrevPage;
  67.                 document.userform.submit();
  68.             }
  69.             
  70.         </SCRIPT>
  71.     </td>
  72. </tr>